package com.gxa.service.cm;

import com.github.pagehelper.PageInfo;
import com.gxa.common.R;
import com.gxa.param.cm.QueryParam;
import com.gxa.pojo.cm.Devplan;
import com.gxa.pojo.cm.vo.TableVO;

import javax.servlet.http.HttpSession;
import java.util.List;

/**
 * @author Glenn
 */
public interface DevplanService {
    Devplan getById(Integer id);

    PageInfo<Devplan> listDevplan(QueryParam queryParam);

    TableVO addDevplan(Devplan devplan, String name, HttpSession session);

    TableVO updateDevplan(Devplan devplan, String name, HttpSession session);

    R batchDelete(List<Integer> ids);
}
